package com.example.hxds.bff.customer.feign;

import cn.dev33.satoken.annotation.SaCheckLogin;
import com.example.hxds.bff.customer.controller.form.EstimateOrderMileageAndMinuteForm;
import com.example.hxds.bff.customer.controller.form.SearchBefittingDriverAboutOrderForm;
import com.example.hxds.bff.customer.controller.form.SearchOrderLocationCacheForm;
import com.example.hxds.common.util.R;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * @Author XUYANG
 * @Date 2024-03-16 19:13
 */
@FeignClient(value = "hxds-mps")
public interface MpsServiceApi {
    @PostMapping("/map/estimateOrderMileageAndMinute")
    public R estimateOrderMileageAndMinute(EstimateOrderMileageAndMinuteForm form);
    @PostMapping("/driver/location/searchBefittingDriverAboutOrder")
    @Operation(summary = "查询符合某个订单结丹司机列表")
    public R searchBefittingDriverAboutOrder(SearchBefittingDriverAboutOrderForm form);
    @PostMapping("/driver/location/searchOrderLocationCache")
    public R searchOrderLocationCache(SearchOrderLocationCacheForm form);

}
